package com.dongbao.entity;

import com.intellij.openapi.vfs.VirtualFile;
import lombok.Builder;
import lombok.Data;

/**
 * 插件化项目检测结果
 * */
public class PluginModueExamInfo {

    /**
     * 模块名
     * */
    private String moduleName;

    /**
     * 文件名
     * */
    private String fileName;

    /**
     * 文件路径
     * */
    private String path;

    /**
     * 文件对象
     * */
    private VirtualFile virtualFile;

    /**
     * 错误开始行
     * */
    private Integer startLine;

    /**
     * 错误结束行
     * */
    private Integer endLine;

    /**
     * 错误信息
     * */
    private String desc;

    /**
     * 修改建议
     * */
    private String suggest;

    /**
     * 文件跳转类型:1.文件 2.模块
     * */
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public VirtualFile getVirtualFile() {
        return virtualFile;
    }

    public void setVirtualFile(VirtualFile virtualFile) {
        this.virtualFile = virtualFile;
    }

    public Integer getStartLine() {
        return startLine;
    }

    public void setStartLine(Integer startLine) {
        this.startLine = startLine;
    }

    public Integer getEndLine() {
        return endLine;
    }

    public void setEndLine(Integer endLine) {
        this.endLine = endLine;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getSuggest() {
        return suggest;
    }

    public void setSuggest(String suggest) {
        this.suggest = suggest;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}
